package ar.com.temporis.system.domain;

import ar.com.temporis.framework.domain.Entity;
import ar.com.temporis.framework.persistence.PersistenceTestCase;
import ar.com.temporis.system.domain.User;

/**
 * 
 * @author matias.sulik
 *
 */
public class UserPersistenceTestCase extends PersistenceTestCase {

	@Override
	protected Entity createEntity() {
		User user = new User();
		
		user.setNick("nick");
		user.setPassword("123456");
		user.setUsername("username");
		
		return user;
	}

	@Override
	protected void modify(Entity entity) {
		((User) entity).setNick("nick");
	}

}
